﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace yule.Common
{
    /// <summary>
    /// 日志管理
    /// </summary>
    public class LogManager
    {
        private static yule.Common.Log.ILogWrite log = new yule.Common.Log.FileLogWrite();
        /// <summary>
        /// 写入日志
        /// </summary>
        /// <param name="message"></param>
        /// <param name="level"></param>
        public static void Write(string message, yule.Common.Log.Level level)
        {
            log.Write(message, level);
        }

    }
}
